availableTeamFor
Filters the [bitballs/components/tournament/details.ViewModel.prototype.teams teams] list to exclude teams that are already assigned to a Game.
details.availableTeamFor(name, round)
Filters the [bitballs/components/tournament/details.ViewModel.prototype.teams teams] list to exclude teams that are already assigned to a Game.
Parameters
-
name
{String}
"home" or "away".
-
round
{String}
A round name from roundNames.